package cn.tedu.telecom.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import cn.tedu.telecom.pojo.Telecom;

public interface TelecomMapper {
	//@Select("SELECT a.`name` AS `name`,SUM(l.up+l.down) AS `value` FROM t_telecom_logger l JOIN t_telecom_app  a ON l.app =a.id GROUP BY l.app")
	List<Telecom> findAndTotal(@Param("t") String type , @Param("d") String date);
	
	List<Telecom> findAndweb(@Param("t") String type , @Param("d") String date);

	List<Telecom> findAndvillage(@Param("t") String type , @Param("d") String date);
}
